package com.crm.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName("crm_employee")
@Data
public class Employee {

    @TableField("employee_id")
    private Integer employeeId;//员工ID

    @TableField("employee_account")
    private String employeeAccount;//员工账户

    @TableField("employee_password")
    private String employeePassword;//员工密码

    @TableField("account_status")
    private Integer accountStatus;//账号状态

    @TableField("employee_name")
    private String employeeName;//员工姓名


    @TableField("employee_phone")
    private String employeePhone;//手机号码

    @TableField("department_id")
    private Integer departmentId;//部门外键


    @TableField("role_id")
    private Integer roleId;//职位外键即角色


    @TableField("employee_email")
    private String employeeEmail;//员工邮箱


    @TableField("employee_ismale")
    private Integer employeeIsmale;//员工性别


    @TableField("employee_birthday")
    private Date employeeBirthday;//员工生日


    @TableField("employee_photo")
    private String employeePhoto;//员工头像


    @TableField("employee_commission")
    private BigDecimal employeecommission;//员工提成


    @TableField("employee_amount")
    private Integer employeeAmount;//员工数量限制


    @TableField("employee_id_number")
    private String employeeIdNumber;//员工身份证号


    @TableField("employee_hiredate")
    private Date employeeHiredate;//入职时间


    @TableField("employee_hometown")
    private String employeeHometown;//家乡


    @TableField("employee_adress")
    private String employeeAdress;

    @TableField("emergency")
    private String emergency;

    @TableField("emergency_phone")
    private String emergencyPhone;

    @TableField("employee_introduction")
    private String employeeIntroduction;

    @TableField("employee_signature")
    private String employeeSignature;

    @TableField("departure_status")
    private Integer departureStatus;

    @TableField("departure_time")
    private Date departureTime;

    @TableField("departure_reason")
    private String departureReason;

    @TableField("isdelete")
    private String isdelete;

    @TableField("salt")
    private String salt;
}
